<?php
//$dbs=array('exchange','goods','ranking','user');
//foreach ($dbs as $k=>$v) {
//    echo  "php yaf.php -m=$v\n";
//    `php yaf.php -m=$v`;
//}
$cdb=array('ERP_BULK_ETL_FLAGE',
'Erp_Test_Table',
'account_adjust_order',
'account_adjust_users',
'application_order',
'barcode_generate_scheme',
'channel_action',
'channel_changeprice_goods',
'channel_changeprice_order',
'channel_changeprice_order_action',
'channel_config_info',
'channel_config_item',
'channel_distribute',
'channel_distribute_goods',
'channel_distribute_order',
'channel_goods',
'channel_goods_info_update_order',
'channel_goods_info_update_order_action',
'channel_goods_info_update_order_goods',
'channel_goods_link',
'channel_goods_old',
'channel_goods_second',
'channel_info',
'channel_move_goods',
'channel_move_order',
'channel_product_distribute_ratio',
'channel_return_goods',
'channel_return_order',
'channel_sku_inventory_proportion',
'channel_tpl',
'channel_vdepot',
'channel_vdepot_inventory',
'channel_vdepot_inventory_tmp',
'comment_star',
'company_delete',
'company_new',
'company_staff',
'company_update',
'copy_of_top_trade',
'cps_info',
'desc_tpl',
'email_list',
'email_sendlist',
'email_templates',
'erp_order_pay_view',
'erp_order_ship_view',
'erp_warehouse_list',
'fi_adjust_payables',
'fi_adjust_payables_detail',
'fi_balance_detail',
'fi_balance_order',
'fi_balance_pay',
'fi_order_action',
'fi_payment',
'fi_supplier_payables',
'goods_out_stock',
'goods_return_change',
'goods_return_change_action',
'goods_size_transform',
'inventory_20101120',
'kucun',
'level_change_rule',
'lottery_condition',
'lottery_info',
'lottery_level',
'lottery_log',
'lottery_prize',
'mall_ad',
'mall_ad_position',
'mall_adsense',
'mall_article',
'mall_article_cat',
'mall_auto_manage',
'mall_booking_goods',
'mall_buyer_show',
'mall_card',
'mall_cart',
'mall_cat_recommend',
'mall_cms_content',
'mall_cms_guide',
'mall_collect_goods',
'mall_collect_group_goods',
'mall_comment',
'mall_feedback',
'mall_friend_link',
'mall_goods_evaluation',
'mall_goods_star',
'mall_ip_address',
'mall_keywords',
'mall_nav',
'mall_pack',
'mall_plate',
'mall_plate_content',
'mall_roster',
'mall_searchengine',
'mall_sensitive_word',
'mall_share_goods',
'mall_site',
'mall_site_category',
'mall_site_channel',
'mall_site_column',
'mall_sms_log',
'mall_stats',
'mall_table_data_log',
'mall_tag',
'mall_template',
'mall_theme',
'mall_theme_goods',
'mall_topic',
'mall_vote',
'mall_vote_log',
'mall_vote_option',
'mb_app_recommend',
'member_price',
'message',
'message_tmp',
'mobile_app_log',
'mobile_code_logs',
'mobile_users_bind',
'moblie_article',
'moblie_article_cat',
'moblie_block_manage',
'moblie_category',
'moblie_content_detail',
'moblie_magazine',
'new_kucun',
'notice_arrival_list',
'notice_module',
'order_action',
'order_action_history',
'order_custom_define',
'order_donate_bonus',
'order_express_tracing',
'order_extend',
'order_goods',
'order_goods_history',
'order_goods_warehouse',
'order_goods_warehouse_history',
'order_info',
'order_info_history',
'order_lack',
'order_pay',
'order_pay_history',
'order_pay_log',
'order_period',
'order_period_detail',
'order_printlog',
'order_promotion',
'order_question',
'order_question_del',
'order_refund',
'order_return',
'order_return_action',
'order_return_goods',
'order_return_goods_test',
'order_return_ship',
'order_semaphore',
'order_service_api_logs',
'order_ship',
'order_ship_history',
'order_suspend',
'order_timeout',
'order_timer_control',
'pay_client_tmp',
'pay_order',
'pr_group_action',
'pr_group_promotion',
'pr_group_promotion_goods',
'pr_group_promotion_images',
'pr_promotion',
'pr_promotion_gift',
'pr_promotion_goods',
'pr_promotion_relationship',
'product_attribute_values',
'product_barcode_generate_scheme',
'product_barcode_identify_scheme',
'product_barcode_list',
'product_barcode_list_old',
'product_barcode_unique_list',
'product_barcode_unique_printlog',
'product_category_attributes',
'product_category_size',
'product_color_goods',
'product_goods',
'product_goods_attr',
'product_goods_color',
'product_goods_color3',
'product_goods_ext_cat',
'product_goods_gallery',
'product_goods_link_goods',
'product_goods_old',
'product_goods_on_un_line',
'product_goods_size',
'product_goods_temp',
'product_inventory_contrast',
'product_lib_attr_group',
'product_lib_attr_group_list',
'product_lib_attr_type',
'product_lib_attr_values',
'product_lib_attributes',
'product_lib_brand',
'product_lib_cate_relation',
'product_lib_category',
'product_lib_ccard',
'product_lib_color',
'product_lib_color_bios',
'product_lib_material',
'product_lib_people',
'product_lib_place',
'product_lib_season',
'product_lib_series',
'product_lib_size',
'product_lib_size_comp',
'product_lib_size_compare',
'product_price_A02588S001',
'product_sale_now',
'product_size_table',
'pur_enter_goods',
'pur_enter_order',
'pur_order_action',
'pur_purchase_goods',
'pur_purchase_order',
'pur_return_goods',
'pur_return_order',
'pur_return_type',
'pur_supplier',
'pur_supplier_goods',
'pur_supplier_type',
'pur_type',
'report_daily_goods',
'schedule_command',
'schedule_log',
'schedule_record',
'schedule_services',
'schedule_task',
'schedule_test',
'special_goods_list',
'staff_temp',
'staff_union',
'system_acl_resource',
'system_acl_role',
'system_acl_role_permision',
'system_acl_role_user',
'system_admin_log',
'system_admin_message',
'system_admin_user',
'system_area_region',
'system_bank',
'system_cac_address',
'system_config',
'system_costcenter',
'system_crons',
'system_error_log',
'system_images',
'system_inventory_log',
'system_message_queue',
'system_msg_template',
'system_order_sn',
'system_payment',
'system_plugins',
'system_region',
'system_region_all',
'system_region_period',
'system_return_sn',
'system_sessions',
'system_sessions_data',
'system_shipping',
'system_shipping_area',
'system_trans_payment',
'temp_excel',
'temp_excel_2',
'temp_excel_mc',
'temp_excel_sku',
'temp_excel_sku2',
'temp_excel_sku3',
'temp_excel_sku_ampm',
'temp_excel_sku_mc',
'temp_order_sn',
'think_access',
'think_ad',
'think_ad_cate',
'think_ad_pos',
'think_ad_time',
'think_article',
'think_article_ass',
'think_attach',
'think_attribute',
'think_attribute_record',
'think_auth',
'think_cache_page',
'think_cate',
'think_comment',
'think_config',
'think_fitment',
'think_fitment_record',
'think_group',
'think_link',
'think_login',
'think_member',
'think_memo',
'think_model',
'think_node',
'think_question',
'think_question_item',
'think_question_log',
'think_role',
'think_role_user',
'think_session',
'think_sql',
'think_tag',
'think_tagged',
'think_test',
'think_text',
'think_user',
'think_visit',
'think_visit_count',
'think_vote',
'think_vote_count',
'think_vote_log',
'tmpInvTbl1313636263',
'tmpInvTbl21313636259',
'tmp_depot_inventory',
'user_account',
'user_account_log',
'user_act_log',
'user_address',
'user_check_email',
'user_extension',
'user_feed',
'user_finance_logs',
'user_friends',
'user_integral_log',
'user_invite_email',
'user_level',
'user_level_change',
'user_member_price',
'user_mobile_cod',
'user_resource',
'user_role',
'user_sign_rule',
'user_tasks',
'user_tasks_logs',
'user_type',
'user_unionLogin',
'user_users',
'wh_check_goods',
'wh_check_order',
'wh_depot',
'wh_depot_inventory',
'wh_depot_inventory_tmp',
'wh_depot_relation',
'wh_loss_goods',
'wh_loss_order',
'wh_move_goods',
'wh_move_order',
'wh_order_action',
'wh_product_seat',
'wh_rectify_goods',
'wh_rectify_order',
'wh_seat',
'wh_shipping_batch',
'wh_sku_position',
'wk_sf_gdn',
'wk_ud_distribute',
'points_exchange',
'points_goods',
'points_alert',
);
function tr($str){
	$len=strlen($str);
    $str=strtolower($str);
	$rs.=strtoupper($str[0]);
	for ($i = 1; $i < $len; ++$i) {
		$rs.=$str[$i];
		if($str[$i]=='_'){
			$str[$i+1]=strtoupper($str[$i+1]);
		}
	}
	return $rs;
}
foreach ($cdb as $k=>$v) {
	echo 'php yaf.php -m='.$v,"\n";
 `php yaf.php -m=$v`;
}